//前端的公用组件业务逻辑接口
function sendRadomCodeMsg(params){
    return axios.get('https://www.simoniu.com/commons/msg/validatecode',{params});
}

//检查验证码是否正确
async function validateRandomCode(params){
    return axios.get('https://www.simoniu.com/commons/msg/auth',{params});
}
